#include <iostream>
#include <unistd.h>
#include <cstdlib>

#define PIPE_NUM 2

int main(){
    int pipe_array[PIPE_NUM] = {0};
    int pipe_ret = pipe(pipe_array);
    if(pipe_ret < 0){
        perror("piep\n");
        return 0;
    }

    // std::cout << "pipe_array[0]：" << pipe_array[0] << "，" 
    // << "pipe_array[1]：" << pipe_array[1] << std::endl;

    return 0;
}